﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ModelQuality.Metrics.Model;
using ModelQuality.Metrics.Engine;

namespace ModelQuality.Metrics.Rules
{
    partial class AssociationRule : IValidationRule<AssociationVO>
    {
        public bool Matches(AssociationVO objectToValidate)
        {
            throw new NotImplementedException();
        }

        public ValidationResult Validate(AssociationVO objectToValidate)
        {
            throw new NotImplementedException();
        }

        public override IList<ValidationRule> GetSubRules()
        {
            return associationRule != null ? new List<ValidationRule>(associationRule) : new List<ValidationRule>();
        }

        public override string ToString()
        {
            return String.Format("AssociationRule[{0}]", id);
        }
    }
}
